<div id='viewSingleEvent'>

<h1><?php echo $model['E_title'];?></h1>
<h3><?php echo $model['E_subtitle'];?></h3>

<table>
<tr>
<td>
<img src='<?php echo 'images/'.$model['E_picture'];?>' style='vertical-align: middle; width:325px;' />
</td>
<td>
<table>
<tr>
	<td>Event Start Date</td><td><?php echo $model['E_startdate'];?></td>
</tr>
<tr>
	<td>Event End Date</td><td><?php echo $model['E_enddate'];?></td>
</tr>
<tr>
	<td>Registration Start Date</td><td><?php echo $model['E_regstartdate'];?></td>
</tr>
<tr>
	<td>Registration End Date</td><td><?php echo $model['E_regenddate'];?></td>
</tr>
<tr>
	<td>Registration Price</td><td><?php echo !empty($model['E_amount']) ? "$".number_format($model['E_amount'], 2, '.', ',') : "Free";?></td>
</tr>
<tr>
	<td></td><td><?php echo CHtml::button('Register', array('submit'=>$this->createUrl('Participant/Create', array('id'=>$model['E_id'])))); ?></td>
</tr>
</table>
</td>
</tr>
</table>

<h3>Description</h3>
<p><?php echo !empty($model['E_description']) ? $model['E_description'] : "<i>No Description Available</i>";?>
</div></p>
</div>


